package com.geeyuu.android;

import java.io.File;

import android.os.Environment;


public class GeeConstants {

//	public static final String RECEIVER_ACTION_HEART_BEAT = "la.fangxin.android.action.HEART_BEAT";
	
//	public static final String WEIBO_SINA_AVATAR_FILE_NAME = "sina_avatar.png";
//	public static final String WEIBO_QQ_AVATAR_FILE_NAME = "qq_avatar.png";
    
    public static final String MY_LARGE_AVATAR_FILE_NAME = "my_large_avatar";
    public static final String MY_SMALL_AVATAR_FILE_NAME = "my_small_avatar";
	
    /**
     * G友根目录名字
     */
	public static final String APP_NAME = "geeyuu";
	public static final String APP_FOLDER_NAME = APP_NAME;
	/**
	 * 升级时候放apk的目录
	 */
	private static final String APP_UPDATE_FOLDER_NAME = "update";
	/**
	 * 放一些临时文件
	 */
	private static final String APP_TEMP_FILE_FOLER_NAME = "temp";
	/**
	 * 存放小图的文件夹
	 */
	private static final String APP_SMALL_IMAGE_FOLDER_NAME = "image_small";
	/**
     * 存放大图的文件夹
     */
	private static final String APP_LARGE_IMAGE_FOLDER_NAME = "image_large";
    /**
     * 存放自己信息的文件夹，例如大头像，小头像
     */
//	private static final String APP_USER_FOLDER_NAME = "user";
	
	public static final String PATH_SD_CARD = Environment.getExternalStorageDirectory().getAbsolutePath();
	public static final String PATH_APPLICATION_FOLDER = PATH_SD_CARD + File.separator + APP_FOLDER_NAME;
	public static final String PATH_UPDATE_FOLDER = PATH_APPLICATION_FOLDER + File.separator + APP_UPDATE_FOLDER_NAME;
	public static final String PATH_TEMP_FILE_FOLDER = PATH_APPLICATION_FOLDER + File.separator + APP_TEMP_FILE_FOLER_NAME;
	public static final String PATH_SMALL_IMAGE_FOLDER = PATH_APPLICATION_FOLDER + File.separator + APP_SMALL_IMAGE_FOLDER_NAME;
	public static final String PATH_LARGE_IMAGE_FOLDER = PATH_APPLICATION_FOLDER + File.separator + APP_LARGE_IMAGE_FOLDER_NAME;
//	public static final String PATH_MY_FOLDER = PATH_APPLICATION_FOLDER + File.separator + APP_USER_FOLDER_NAME;
	
	/**
	 * 只需在这添加路径，初始化就会自动新建目录
	 */
	public static final String[] PATHS = {PATH_APPLICATION_FOLDER, PATH_UPDATE_FOLDER, PATH_TEMP_FILE_FOLDER, PATH_SMALL_IMAGE_FOLDER, PATH_LARGE_IMAGE_FOLDER};
	
	/**
	 * 图片服务器
	 */
	public static final String IMG_UPLOAD_HTTP_URL = "http://122.49.31.244:8080/file/upload";
	public static final String IMG_DOWNLOAD_HTTP_URL = "http://122.49.31.244:8080/file/download";
	
	
	/**
     * 文件服务器
     */
    public static final String FILE_UPLOAD_HTTP_URL = "http://122.49.31.244:8080/file/upload2";
    public static final String FILE_DOWNLOAD_HTTP_URL = "http://122.49.31.244:8080/file/download2";
	
//	public static final String CONSUMER_REDIRECT_URI = "https://api.weibo.com/oauth2/default.html";
//	public static final String CONSUMER_KEY = "948596162";
//	public static final String CONSUMER_SECRET = "f849d5fac1b876184f8ffac16cf74053";
//	public static final String redirectUri = "http://www.fangxin.la";
//	public static final String clientId = "801195260";
//	public static final String clientSecret = "5a62ea46685587077a07b944449cca41";
	
	
}
